*** Code for Reply to "Powerless Conservatives or Powerless Findings?"
*** L.J Zigerell

*** Get the ANES 2016 Time Series Study data here: https://electionstudies.org/data-center/2016-time-series-study/
*** Get the code for Utych 2020 PS "Powerless Conservatives or Powerless Findings?" here: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/D2PMWV
*** Run the Utych 2020 PS code. Then run the code below:

/// Create dichotomous predictors for denying discrimination against women and denying discrimination against men
/// The first two lines code missing (-9) as missing. The second two lines code missing (-9) as not denying discrimination

recode V162362 (5=1) (1/4=0) (-9 -7 -6 -5 = .), gen(d2_women)
recode V162363 (5=1) (1/4=0) (-9 -7 -6 -5 = .), gen(d2_men)
recode V162362 (5=1) (1/4 -9=0) (-7 -6 -5 = .), gen(d2_women_miss)
recode V162363 (5=1) (1/4 -9=0) (-7 -6 -5 = .), gen(d2_men_miss)

tab V162362 d2_women, mi
tab V162363 d2_men, mi
tab V162362 d2_women_miss, mi
tab V162363 d2_men_miss, mi

/// These are the Utych 2020 PS Table 1 analyses, but with these new dichotomous predictors

logit votetrump d2_women      d2_men      female age black latinx race_oth relig_imp pol_int repub conserv educ1 income married under18 auth egal [pweight=V160102]
reg   ft_djt    d2_women      d2_men      female age black latinx race_oth relig_imp pol_int repub conserv educ1 income married under18 auth egal [pweight=V160102]
logit votetrump d2_women_miss d2_men_miss female age black latinx race_oth relig_imp pol_int repub conserv educ1 income married under18 auth egal [pweight=V160102]
reg   ft_djt    d2_women_miss d2_men_miss female age black latinx race_oth relig_imp pol_int repub conserv educ1 income married under18 auth egal [pweight=V160102]

/// If keeping discrimination against women on the original 5-point scale

logit votetrump disc_women     d2_men      female age black latinx race_oth relig_imp pol_int repub conserv educ1 income married under18 auth egal [pweight=V160102]
reg   ft_djt    disc_women     d2_men      female age black latinx race_oth relig_imp pol_int repub conserv educ1 income married under18 auth egal [pweight=V160102]
logit votetrump disc_women     d2_men_miss female age black latinx race_oth relig_imp pol_int repub conserv educ1 income married under18 auth egal [pweight=V160102]
reg   ft_djt    disc_women     d2_men_miss female age black latinx race_oth relig_imp pol_int repub conserv educ1 income married under18 auth egal [pweight=V160102]
